home *** CD-ROM | disk | FTP | other *** search
- ; 3270 default keymap table... 11/12/90 This is for 3278 screens only
- ; not vt102
-
- ; lines beginning w/ ; or blank lines are ignored.
-
- ; format of input lines is:
- ;
- ; set key [optional mode char] keynumber keydefinition
- ; where mode chars can be
- ; + For Application keypad expansion only
- ; - For nonapplication keypad expansion only
- ; $ For cursor set mode (ugh!)
- ; If blank or missing, then the expansion is for any mode
- ;
- ; keynumbers are HEXADECIMAL numbers (sorry folks, parser is simple)
- ;
- ; keydefinition is any non blank text up to end of line or ';', including
- ; trailing blanks. TRAILING BLANKS ARE SIGNIFIGANT!
- ;
- ; To include a ';' in your string, if you don't have a comment also, use a \
- ;
- ; A key definition can not be longer than 255 characters.
- ;
- ; NO TABS ALLOWED EXCEPT IN KEY DEFINITION.. (sorry, simple, small code)
- ;
- ; if you need an expansion beginning w/ blanks, make the first sequence be
- ; \040 which is octal space
- ;
- ; Recognized escapes are:
- ; \nnn (all three digits required) expands to the octal char.
- ; If your session is not open in binary mode, you may see 7-bit
- ; truncation
- ;
- ; \r return
- ; \n newline
- ; \e Escape (\033)
- ; \\ The \ character
- ; \; The ; character
- ; \"MACRO" Substitutes the specified macro... (internal only in this version)
- ;
- ;
- ; Additional commands...
- ;
- ; You may also include the commands
- ; extended (means process subsequently encountered keys only if
- ; running on an extended keyboard)
- ;
- ; notextended (converse of above)
- ;
- ; mini-example
- ;
- ; extended
- ; set key + 110d \e?2
- ; set key - 110d \e?0; this is a comment, notice no extra spaces after 0
- ; set key 10f \010
- ; notextended
- ; set key 11c \r
- ;
- ; The above example sets the keypad enter key to return two different
- ; values depending on whether application mode is set.
- ; (also sets the tab key to send a tab)
- ; otherwise, on non extended keyboards, send <CR> when keypad enter is pressed
-
- ;------------------------ defaults begin here ------------------------------
- ; scans for either extended or non-extended keyboards
- ; ## see default.tbl for a detailed explanation of the \"SYS_ macros
-
- set key 91e \"SYS_TELNET"; ALT-A - add a telnet session
- set key 92e \"SYS_CAPTURE"; ALT-C - toggle capture screen mode
- set key 920 \"SYS_DUMP"; ALT-D - dump screen
- set key 912 \"SYS_DOSESCAPE"; ALT-E - escape to dos
- set key 922 \"SYS_GRAPHMENU"; ALT-G - graphics menu
- set key 923 \"SYS_HELP"; ALT-H - show help screen
- set key 917 \"SYS_MYIP"; ALT-I - send my ip address
- set key 925 \"SYS_TEL_ERASE_CHAR"; ALT-K - send telnet erase character command
- set key 926 \"SYS_LASTSESS"; ALT-L - switch to previous session screen
- set key 932 \"SYS_CONSOLE"; ALT-M - show console screen
- set key 931 \"SYS_NEXTSESS"; ALT-N - switch to next session screen
- set key 918 \"SYS_TEL_AO"; ALT-O - send 'abort output' telnet command
- set key 910 \"SYS_TEL_AYT"; ALT-Q - send telnet 'are you there' command
- set key 919 \"SYS_PARMS"; ALT-P - set window parameters
- set key 913 \"SYS_VTRESET"; ALT-R - reset vt100 screen
- set key 91f \"SYS_TEL_SKIP"; ALT-S - discard incoming chars for a while
- set key 914 \"SYS_FTP"; ALT-T - send ftp myaddress
- set key 916 \"SYS_TEL_ERASE_LINE"; ALT-U - send telnet erase line command
- set key 92f \"SYS_RSHELL"; ALT-V - add an rshell session
- set key 92d \"SYS_CLOSE"; ALT-X - close current session window
- set key 911 \"SYS_FTPPASSWD"; ALT-W - send internal ftp password
- set key 915 \"SYS_TEL_IP"; ALT-Y - send telnet 'interrupt process' command
- set key 92c \"SYS_RLOGIN"; ALT-Z - add an rlogin session
- set key 577 \"SYS_TEKINIT"; CTRL-HOME - reset tek screen, enter tek mode
- set key 982 \"SYS_SCRIPT"; ALT-MINUS - begin or end a script
- set key 96a \"SYS_ABORT"; ALT-F3 - abort program
- set key 970 \"SYS_NETSTAT"; ALT-F9 - display tcp connection status in console window
-
- ; the following sets the number pad for numlock mode or shift-keypad
- set key 352 0
- set key 353 .
- set key 34f 1
- set key 350 2
- set key 351 3
- set key 34b 4
- set key 34c 5
- set key 34d 6
- set key 347 7
- set key 348 8
- set key 349 9
-
- ; now we define the keypad keys for non-numlock mode, non-cursor set mode
- set key 8 \"TN_LEFT"; ^H
- set key 10e \"TN_LEFT"; Backspace (grey)
- set key 7f \"TN_LEFT"; Delete
- set key 148 \"TN_UP"
- set key 150 \"TN_DOWN"
- set key 14b \"TN_LEFT"
- set key 14d \"TN_RIGHT"
- set key 147 \"TN_HOME"; keypad home key
- set key 577 \"TN_CLEAR"; Ctrl-Home
- set key 1577 \"TN_CLEAR"; Ctrl-Grey-Home
- set key 1a \"TN_CLEAR"; ^Z Vestigial
-
- set key 30f \"TN_BTAB"; shift-tab
- set key a \"TN_NL"; ctrl-enter
- set key 9 \"TN_TAB"; tab key
- set key 90e \"TN_DP"; ALT-BACKSPACE
- set key 983 \"TN_FM"; ALT-= (alt equals Field Mark)
- set key 153 \"TN_DELETE"; Keypad Delete
- set key 14f \"TN_EEOF"; Keypad End key
- set key 575 \"TN_EINP"; Keypad Ctrl-End for Erase Input
- set key 152 \"TN_INSRT"; Keypad insert toggle
-
- set key 149 \"TN_PA1"; Keypad Page up
- set key 151 \"TN_PA2"; Keypad Page down
- set key 576 \"TN_PA3"; Keypad Ctrl-Pagedown
- set key 968 \"TN_PA1"; Alt-F1
- set key 969 \"TN_PA2"; Alt-F2
- set key 96a \"TN_PA3"; Alt_F3
-
- set key 96c \"TN_TREQ"; Alt-F5
-
- set key 574 \"TN_RIGHT2"; Ctrl-Right
- set key 573 \"TN_LEFT2"; Ctrl-Left
- ;set key 584 \"TN_WORDEND"; Ctrl-Pageup
-
- ; these don't seem to work
- ;set key 1c \"TN_WERASE"; Ctrl-\
- ;set key 1f \"TN_FERASE"; Ctrl-_ (ctrl minus)
- ;set key 1d \"TN_FIELDEND"; Ctrl-]
- ;set key 1e \"TN_CURSEL"; Ctrl-`
-
- ; following are the same defs for extended keyboards, if you have one
- set key 1147 \"TN_HOME"; Grey home key
- set key 1153 \"TN_DELETE"; Grey Delete
- set key 114f \"TN_EEOF"; Grey End key
- set key 1575 \"TN_EINP"; Grey Ctrl-End for Erase Input
- set key 1152 \"TN_INSRT"; Grey insert toggle
- set key 1149 \"TN_PA1"; Grey Page up
- set key 1151 \"TN_PA2"; Grey Page down
- set key 1576 \"TN_PA3"; Grey Ctrl-Pagedown
- ;set key 1584 \"TN_WORDEND"; Grey Ctrl-Pageup
- set key 1574 \"TN_RIGHT2"; Grey Ctrl-Right
- set key 1573 \"TN_LEFT2"; Grey Ctrl-Left
-
- set key 1148 \"TN_UP"
- set key 1150 \"TN_DOWN"
- set key 114b \"TN_LEFT"
- set key 114d \"TN_RIGHT"
-
- ; now set the base PF1-PF10 keys which are the same for both extended
- ; and basic keyboards
-
- set key 13b \"TN_PFK1"; F1
- set key 13c \"TN_PFK2"; F2
- set key 13d \"TN_PFK3"; F3
- set key 13e \"TN_PFK4"; F4
- set key 13f \"TN_PFK5"; F5
- set key 140 \"TN_PFK6"; F6
- set key 141 \"TN_PFK7"; F7
- set key 142 \"TN_PFK8"; F8
- set key 143 \"TN_PFK9"; F9
- set key 144 \"TN_PFK10"; F10
-
- ; begin F11 through F20 for non extended keyboards, as Shift-F1 etc
- notextended
- set key 354 \"TN_PFK11"; Shift-F1
- set key 355 \"TN_PFK12"; Shift-F2
- set key 356 \"TN_PFK13"; Shift-F3
- set key 357 \"TN_PFK14"; Shift-F4
- set key 358 \"TN_PFK15"; Shift-F5
- set key 359 \"TN_PFK16"; Shift-F6
- set key 35a \"TN_PFK17"; Shift-F7
- set key 35b \"TN_PFK18"; Shift-F8
- set key 35c \"TN_PFK19"; Shift-F9
- set key 35d \"TN_PFK20"; Shift-F10
- set key 55e \"TN_PFK21"; Ctrl-F1
- set key 55f \"TN_PFK22"; Ctrl-F2
- set key 560 \"TN_PFK23"; Ctrl-F3
- set key 561 \"TN_PFK24"; Ctrl-F4
-
- ; now for extended keyboards
- extended
- set key 185 \"TN_PFK11"; F11
- set key 186 \"TN_PFK12"; F12
- set key 354 \"TN_PFK13"; Shift-F1
- set key 355 \"TN_PFK14"; Shift-F2
- set key 356 \"TN_PFK15"; Shift-F3
- set key 357 \"TN_PFK16"; Shift-F4
- set key 358 \"TN_PFK17"; Shift-F5
- set key 359 \"TN_PFK18"; Shift-F6
- set key 35a \"TN_PFK19"; Shift-F7
- set key 35b \"TN_PFK20"; Shift-F8
- set key 35c \"TN_PFK21"; Shift-F9
- set key 35d \"TN_PFK22"; Shift-F10
- set key 387 \"TN_PFK23"; Shift-F11
- set key 388 \"TN_PFK24"; Shift-F12
-